<?php
return $menu = [
    [
        'name' => '控制台',
        'sub'  => [
            [
                'name' => '服务器信息',
                'url'  => '/system/info',
            ],
            [
                'name' => '欢迎你',
                'url'  => '/system/welcome',
            ],
        ],
    ],
    [
        'name' => '权限控制',
        'sub'  => [
            [
                'name' => '权限列表',
                'url'  => U('rule/index'),
            ],
            [
                'name' => '角色列表',
                'url'  => U('group/index'),
            ],
            [
                'name' => '管理员列表',
                'url'  => U('user/index'),
            ],
        ],
    ],
    [
        'name' => '系统设置',
        'sub'  => [
            [
                'name' => '系统设置',
                'url'  => U('setting/index'),
            ],
        ],
    ],
    [
        'name' => '店铺管理',
        'sub' => [
            [
                'name' => '用户管理',
                'url' => U('consumer/index'),
            ],
            [
                'name' => '店铺列表',
                'url' => U('shop/index'),
            ],
            [
                'name' => '添加店铺',
                'url' => U('shop/add'),
            ],
        ],
    ],
    [
        'name' => '店铺分类',
        'sub' => [
            [
                'name' => '普通门店',
                'url' => U('shop/common'),
            ],
            [
                'name' => '直营门店',
                'url' => U('shop/direct'),
            ],
        ],
    ],
    [
        'name' => '服务项目管理',
        'sub' => [
            [
                'name' => '添加服务',
                'url' => U('project/add'),
            ],
            [
                'name' => '管理服务项目',
                'url' => U('project/manage'),
            ],
            [
                'name' => '项目价格',
                'url' => U('project/price'),
            ],
            [
                'name' => '商品购买限制',
                'url' => U('project/limit'),
            ],
        ],
    ],
    [
        'name' => '技师管理',
        'sub' => [
            [
                'name' => '技师列表',
                'url' => U('technician/index'),
            ],
            [
                'name' => '技师信息',
                'url' => U('technician/message'),
            ],
            [
                'name' => '推荐技师',
                'url' => U('technician/introduce'),
            ],
        ],
    ],
    [
        'name' => '用户管理',
        'sub' => [
            [
                'name' => '用户余额',
                'url' => U('consumer/balance'),
            ],
            [
                'name' => '积分',
                'url' => U('consumer/integral'),
            ],
            [
                'name' => '个人信息',
                'url' => U('consumer/message'),
            ],
        ],
    ],
    [
        'name' => '订单管理',
        'sub' => [
            [
                'name' => '未服务',
                'url' => U('order/wait'),
            ],
            [
                'name' => '已服务',
                'url' => U('order/finsh'),
            ],
            [
                'name' => '已取消',
                'url' => U('order/cancel'),
            ],
            [
                'name' => '已退款',
                'url' => U('order/refund'),
            ],
        ],
    ],
    [
        'name' => '评论管理',
        'sub' => [
            [
                'name' => '评论列表',
                'url' => U('comment/index'),
            ],
        ],
    ],
    [
        'name' => '兑换券管理',
        'sub' => [
            [
                'name' => '添加兑换券',
                'url' => U('exchange/add'),
            ],
            [
                'name' => '兑换券列表',
                'url' => U('exchange/index'),
            ],
            [
                'name' => '使用记录',
                'url' => U('exchange/record'),
            ],
        ],
    ],
    [
        'name' => '其他设置',
        'sub' => [
            [
                'name' => '开通城市',
                'url' => U('setting/city'),
            ],
            [
                'name' => '电话设置',
                'url' => U('setting/phone'),
            ],[
                'name' => '咨询设置',
                'url' => U('setting/consult'),
            ],
            [
                'name' => '技师押金设置',
                'url' => U('setting/cash'),
            ],
        ],
    ],
];
